CustomTables\Fields D

Total Complexity 298
Dependencies 11
Dependents 20
Total lines 1,478
Lines of code 944
Logical lines of code 723
Comment lines 261
Methods 36
Properties 0

Methods 36

Method Rating Maintainability Complexity Lines of code
getProjectedFieldType()
D
23
65 131
makeProjectedFieldType()
C
35 25 91
convertMySQLFieldTypeToCT()
C
40 27 53
saveField()
C
31 23 107
update_physical_field()
B
39 20 60
deleteField_byID()
B
39 19 57
addField()
A
45 11 38
addForeignKey()
A
47 9 36
fixMYSQLField()
A
48 9 33
ConvertFieldType()
A
54 10 18
projectedFieldTypeToString()
S
58 8 12
getTableConstrances()
S
52 7 23
convertRawFieldType()
S
58 5 14
parseFieldTypeFromString()
S
52 4 23
cleanTableBeforeNormalization()
S
56 4 16
isLanguageFieldName()
S
60 4 13
addLanguageField()
S
59 4 13
getLanguageLessFieldName()
S
60 4 13
AddMySQLFieldNotExist()
S
62 4 11
shortFieldObject()
S
54 3 20
isFieldNullable()
S
49 2 32
isVirtualField()
S
64 4 8
deleteMYSQLField()
S
61 3 12
addIndexIfNotExist()
S
65 3 9
removeForeignKey()
S
64 3 10
parse_column_type()
S
64 3 9
findAndFixFieldOrdering()
S
60 2 13
findAndFixOrderingFieldRecords()
S
62 2 11
shortFieldObjects()
S
70 2 6
removeForeignKeyConstrance()
S
69 2 7
getListOfExistingFields()
S
68 2 7
CreateImageGalleryTable()
S
62 1 11
CreateFileBoxTable()
S
62 1 11
getPureFieldType()
S
75 1 4
checkIfFieldExists()
S
71 1 5
getMaxOrdering()
S
67 1 7